//const webpack = require('webpack');
const webpack = require('./zfpack');
const config = require('./webpack.config');
webpack(config,(err,stats)=>{
    if(err){
        console.log('编译中发生了错误!')
    }else{
        console.log(stats.toJson({
            assets:false,
            hash:true
        }))
    }
});